{if count($ErrorMessages)}
	<ul id="ul_error_msg" class="err_msg" style="display:none;">
		{foreach from=$ErrorMessages item=v}
			<li>{$v|escape}</li>
		{/foreach}
	</ul>
	
	{literal}
	<script type="text/javascript">
	<!--
		$(function(){
			$("#ul_error_msg").slideDown("slow").click(function(){
				$('#ul_error_msg').slideUp('slow');
			});
		});
	-->
	</script>
	{/literal}
{/if}

{if count($StdMessages)}
	<ul id="ul_standard_msg" class="std_msg" style="display:none;">
		{foreach from=$StdMessages item=v}
			<li>{$v|escape}</li>
		{/foreach}
	</ul>
	
	{literal}
	<script type="text/javascript">
	<!--
		$(function(){
			$("#ul_standard_msg").slideDown("slow").click(function(){
				$('#ul_standard_msg').slideUp('slow');
			});
		});
	-->
	</script>
	{/literal}
{/if}